package jwdt.xadmin.bbs.bean;

import com.ezerg.db.Jdb;
import com.ezerg.db.annotation.Column;
import com.ezerg.db.annotation.Table;

@Table(name="bbs_board", keys={"id"}, comment="")
public class TBboard implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	@Column(value="id", comment="")
	private Integer id;
	
	@Column(value="name", comment="")
	private String name;
	
	@Column(value="class", comment="")
	private Integer classid;
	
	@Column(value="readme", comment="")
	private String readme;
	
	@Column(value="boardmaster", comment="")
	private String boardmaster;
	
	
	public Integer getClassid() {
		return this.classid;
	}

	public String getClassname() {
		TBclass cls = (TBclass)Jdb.get().get(TBclass.class, this.classid);
		return cls.getName();
	}

	public void setClassid(Integer classid) {
		this.classid = classid;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer boardid) {
		this.id = boardid;
	}

	public String getName() {
		return name;
	}

	public void setName(String boardtype) {
		this.name = boardtype;
	}

	public String getReadme() {
		return readme;
	}

	public void setReadme(String readme) {
		this.readme = readme;
	}

	public String getBoardmaster() {
		return boardmaster;
	}

	public void setBoardmaster(String boardmaster) {
		this.boardmaster = boardmaster;
	}

	public Integer getLockboard() {
		return lockboard;
	}

	public void setLockboard(Integer lockboard) {
		this.lockboard = lockboard;
	}

	public Integer getBoardskin() {
		return boardskin;
	}

	public void setBoardskin(Integer boardskin) {
		this.boardskin = boardskin;
	}

	public String getTableback() {
		return tableback;
	}

	public void setTableback(String tableback) {
		this.tableback = tableback;
	}

	public String getTabletitle() {
		return tabletitle;
	}

	public void setTabletitle(String tabletitle) {
		this.tabletitle = tabletitle;
	}

	public String getTablebody() {
		return tablebody;
	}

	public void setTablebody(String tablebody) {
		this.tablebody = tablebody;
	}

	public String getAtablebody() {
		return atablebody;
	}

	public void setAtablebody(String atablebody) {
		this.atablebody = atablebody;
	}

	public String getTablefont() {
		return tablefont;
	}

	public void setTablefont(String tablefont) {
		this.tablefont = tablefont;
	}

	public String getTablecontent() {
		return tablecontent;
	}

	public void setTablecontent(String tablecontent) {
		this.tablecontent = tablecontent;
	}

	public String getAlertfont() {
		return alertfont;
	}

	public void setAlertfont(String alertfont) {
		this.alertfont = alertfont;
	}

	public String getLastpostuser() {
		return lastpostuser;
	}

	public void setLastpostuser(String lastpostuser) {
		this.lastpostuser = lastpostuser;
	}

	public String getLastposttime() {
		return lastposttime;
	}

	public void setLastposttime(String lastposttime) {
		this.lastposttime = lastposttime;
	}

	public Integer getLastbbsnum() {
		return lastbbsnum;
	}

	public void setLastbbsnum(Integer lastbbsnum) {
		this.lastbbsnum = lastbbsnum;
	}

	public Integer getLasttopicnum() {
		return lasttopicnum;
	}

	public void setLasttopicnum(Integer lasttopicnum) {
		this.lasttopicnum = lasttopicnum;
	}

	public Integer getStrallowforumcode() {
		return strallowforumcode;
	}

	public void setStrallowforumcode(Integer strallowforumcode) {
		this.strallowforumcode = strallowforumcode;
	}

	public Integer getStrallowhtml() {
		return strallowhtml;
	}

	public void setStrallowhtml(Integer strallowhtml) {
		this.strallowhtml = strallowhtml;
	}

	public Integer getStrimginposts() {
		return strimginposts;
	}

	public void setStrimginposts(Integer strimginposts) {
		this.strimginposts = strimginposts;
	}

	public Integer getStrIcons() {
		return strIcons;
	}

	public void setStrIcons(Integer strIcons) {
		this.strIcons = strIcons;
	}

	public Integer getStrflash() {
		return strflash;
	}

	public void setStrflash(Integer strflash) {
		this.strflash = strflash;
	}

	public String getForumlogo() {
		return forumlogo;
	}

	public void setForumlogo(String forumlogo) {
		this.forumlogo = forumlogo;
	}

	public String getIndeximg() {
		return indeximg;
	}

	public void setIndeximg(String indeximg) {
		this.indeximg = indeximg;
	}

	public Integer getLastrootid() {
		return lastrootid;
	}

	public void setLastrootid(Integer lastrootid) {
		this.lastrootid = lastrootid;
	}

	public String getLasttopic() {
		return lasttopic;
	}

	public void setLasttopic(String lasttopic) {
		this.lasttopic = lasttopic;
	}

	public Integer getTodaynum() {
		return todaynum;
	}

	public void setTodaynum(Integer todaynum) {
		this.todaynum = todaynum;
	}

	public String getBoarduser() {
		return boarduser;
	}

	public void setBoarduser(String boarduser) {
		this.boarduser = boarduser;
	}

	public Integer getZt() {
		return zt;
	}

	public void setZt(Integer zt) {
		this.zt = zt;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Column(value="lockboard", comment="")
	private Integer lockboard = 0;
	
	@Column(value="boardskin", comment="")
	private Integer boardskin;
	
	@Column(value="tableback", comment="")
	private String tableback;
	
	@Column(value="tabletitle", comment="")
	private String tabletitle;
	
	@Column(value="tablebody", comment="")
	private String tablebody;
	
	@Column(value="atablebody", comment="")
	private String atablebody;
	
	@Column(value="tablefont", comment="")
	private String tablefont;
	
	@Column(value="tablecontent", comment="")
	private String tablecontent;
	
	@Column(value="alertfont", comment="")
	private String alertfont;
	
	@Column(value="lastpostuser", comment="")
	private String lastpostuser;
	
	@Column(value="lastposttime", comment="")
	private String lastposttime;
	
	@Column(value="lastbbsnum", comment="")
	private Integer lastbbsnum;
	
	@Column(value="lasttopicnum", comment="")
	private Integer lasttopicnum;
	
	@Column(value="strallowforumcode", comment="")
	private Integer strallowforumcode;
	
	@Column(value="strallowhtml", comment="")
	private Integer strallowhtml;
	
	@Column(value="strimginposts", comment="")
	private Integer strimginposts;
	
	@Column(value="strIcons", comment="")
	private Integer strIcons;
	
	@Column(value="strflash", comment="")
	private Integer strflash;
	
	@Column(value="forumlogo", comment="")
	private String forumlogo;
	
	@Column(value="indeximg", comment="")
	private String indeximg;
	
	@Column(value="lastrootid", comment="")
	private Integer lastrootid;
	
	@Column(value="lasttopic", comment="")
	private String lasttopic;
	
	@Column(value="todaynum", comment="")
	private Integer todaynum;
	
	@Column(value="zt", comment="")
	private Integer zt;
	
	@Column(value="boarduser", comment="")
	private String boarduser;
}
